import { Module } from '@nestjs/common'
import { AssetsService } from './assets.service'
import { AssetsController } from './assets.controller'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Asset } from 'src/entity/Asset'
import { Purchase } from 'src/entity/Purchase'
import { Fix } from 'src/entity/Fix'
import { Type } from 'src/entity/Type'
import { Budget } from 'src/entity/Budget'
import { Receive } from 'src/entity/Receive'
import { Allocate } from 'src/entity/Allocate'
import { Scrap } from 'src/entity/Scrap'
import { Borrow } from 'src/entity/Borrow'
import { Easter } from 'src/entity/Easter'
import { Task } from 'src/entity/Task'

@Module({
  imports: [
    TypeOrmModule.forFeature([
      Asset,
      Purchase,
      Fix,
      Type,
      Purchase,
      Budget,
      Receive,
      Allocate,
      Scrap,
      Borrow,
      Easter,
      Task
    ]),
  ],
  controllers: [AssetsController],
  providers: [AssetsService],
})
export class AssetsModule { }
